<?php 
$this->extend('/Common/default');
$this->start('script');
echo $this->Html->script('tiny_mce/tiny_mce');
?>
<script type="text/javascript">
tinyMCE.init({
	theme : "advanced",
	mode : "textareas",
	plugins : "fullpage",
	theme_advanced_buttons3_add : "fullpage",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "bottom",
	theme_advanced_resizing : true
});
</script>
<?php
$this->end();
$this->start('mid');
?>
<div class="mid">
    <div class="searchBox">
        <input class="choosePeople" type="radio" name="SearchType"/> People
        <input class="chooseJobs" type="radio" name="SearchType"/> Jobs
        <input class="searchInput" type="text" /> 
        <input class="buttonMidBlue" type="submit" value="Search" />
    </div>
    <div class="jobCreateBox">
    	<?php echo $this->Form->create('Job');?>
        <div class="jobCreateTitle">Create a Job</div>
        <div><?php echo $this->Session->flash(); ?></div>
        <li>
            <div class="jobCreateType">Job Title:</div>
            <div class="jobCreateContent"><?php echo $this->Form->input('title', array('label' => false));?><span class="jobCreateExplain">Type the name of the job</span></div>                      
            <div style="clear:both" ></div>
        </li>
        <li>
            <div class="jobCreateType">Company Name:</div>
            <div class="jobCreateContent"><?php echo $this->Form->input('company_name', array('label' => false));?><span class="jobCreateExplain">Type the name of the company</span></div>                      
            <div style="clear:both" ></div>
        </li>       
        <li>
            <div class="jobCreateType">Location:</div>
            <div class="jobCreateContent">
            	<?php echo $this->Form->input('city', array('div' => false, 'label' => false, 'class' => 'middleTextBox'));?>
            	<?php echo $this->Form->input('state', array('div' => false, 'label' => false, 'class' => 'xsmallTextBox'));?>
            	<?php echo $this->Form->input('country', array('div' => false, 'label' => false, 'class' => 'smallTextBox'));?>
            	<?php echo $this->Form->input('zipcode', array('div' => false, 'label' => false, 'class' => 'smallTextBox'));?>
            	
                <span class="jobCreateExplain">Type the city,state,country,zipcode</span></div>                      
            <div style="clear:both" ></div>
        </li> 
        <li>
            <div class="jobCreateType">Type:</div>
            <div class="jobCreateContent">
                <div class="jobCreateJobTypeBox"><input  type="checkbox" name="data[JobType][1]" id="JobType"/> Part Time </div>
                <div class="jobCreateJobTypeBox"><input  type="checkbox" name="data[JobType][2]" id="JobType"/> Internship </div><br />
                <div class="jobCreateJobTypeBox"><input  type="checkbox" name="data[JobType][3]" id="JobType"/> Full Time Entry Level</div> 
                <div class="jobCreateJobTypeBox"><input  type="checkbox" name="data[JobType][4]" id="JobType"/> Full Time Experienced</div><br />
                <span class="jobCreateExplain">Choose Intern, Part Time...</span>
            </div>              
            <div style="clear:both" ></div>
        </li>                     
        <li>
            <div class="jobCreateType">Description: </div>
            <?php echo $this->Form->textarea('description', array('label' => false));?></textarea>  
            <div style="clear:both; margin-top:10px;" ></div>   
        </li>  
        <li>
            <div class="jobCreateType">Email To:</div>
            <div class="jobCreateContent"><?php echo $this->Form->input('email_to', array('label' => false));?><span class="jobCreateExplain">Type the contact Email</span></div>  
            <div style="clear:both" ></div>
        </li> 
        <li>
            <div class="jobCreateType">Contact Person:</div>
            <div class="jobCreateContent"><?php echo $this->Form->input('contact_person', array('label' => false));?><span class="jobCreateExplain">Type the contact person</span></div>    
            <div style="clear:both" ></div>
        </li>                     
        
        <input class="buttonDarkGreen" type="submit" value="Post the Job"/>
        <?php echo $this->Form->end();?>
    </div>
</div>
<?php $this->end(); ?>